#ifndef __EVENT_H_
#define __EVENT_H_
#include "KLib.h"
#include "NonCopyable.h"
SK

class Event : public NonCopyable
{
private:
    HANDLE han;
    bool delHan;
public:
    Event (bool initialState=false);
    Event (HANDLE han);
    ~Event ();

    void signal (void);
    void reset (void);
    
    bool waitFor (void);
    bool waitFor (u32 timeout);
};

EK
#endif